package io.renren;

import org.junit.Test;

public class MethodUtil {
	public static String lowerFirst(String oldStr){

		char[]chars = oldStr.toCharArray();

		chars[0] += 32;

		return String.valueOf(chars);

	}
	@Test
	public void getCommentUserIdList() {
		String pageName="cn.com.code.generator.vo.";
		String entity = "User";
		String pageReq = pageName+entity+"ReqPageVO";
		String pageResp = pageName+entity+"RespPageVO";
		String pageMethodName = "search"+entity+"Page";
		//修改和保存，修改包括删除（禁用）
		String saveMethod = "save"+entity;
		String detailMethod = "get"+entity+"ById";
		System.out.println("pageMethodName="+pageMethodName);
		System.out.println("pageReq="+pageReq);
		System.out.println("pageResp="+pageResp);
		System.out.println("saveMethod="+saveMethod);
		System.out.println("detailMethod="+detailMethod);
	}

}
